import Vue from 'vue'
import Router from 'vue-router'
import Index from '../pages/index'; //首页
import Scroll from '../pages/scroll'; //首页
Vue.use(Router)

let routes  =  [
		{
			path: '/',
			name: 'index',
			component: Index,
			meta: {
				KeepAlive: false
			}
		},
		{
			path: '/scroll',
			name: 'Scroll',
			component: Scroll,
			meta: {
				KeepAlive: false
			}
		}
	]
const router = new Router({  
  routes : routes
});


export default router